package com.example.walled_houses.service;

import com.example.walled_houses.dto.LoginDTO;
import com.example.walled_houses.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.walled_houses.vo.Result;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chengtaoxie
 * @since 2023-10-24
 */
public interface UserService extends IService<User> {

    Result login(LoginDTO loginDto);

    Result getUser();

    Result updateUserPhoto(MultipartFile file);
}
